package com.zhijian.warehouse.manage.entity.vo.request;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 通道门 新增or修改vo
 *
 * @author auto
 * @version 1.0
 * @date 2024-10-11 10:35:59
 */
@Data
@Api(tags = "通道门新增or修改vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GateSaveOrUpdateVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", hidden = true)
    private Long id;

    /**
     * IP地址
     */
    @ApiModelProperty("IP地址")
    @NotBlank(message = "IP地址不能为空")
    private String ipAddress;

    /**
     * 位置
     */
    @ApiModelProperty("位置")
    private String location;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String note;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID", hidden = true)
    private Long createUserId;

    /**
     * 创建人姓名
     */
    @ApiModelProperty(value = "创建人姓名", hidden = true)
    private String createUserName;

    /**
     * 修改人ID
     */
    @ApiModelProperty(value = "修改人ID", hidden = true)
    private Long updateUserId;

    /**
     * 修改人姓名
     */
    @ApiModelProperty(value = "修改人姓名", hidden = true)
    private String updateUserName;

}